package com.sinog.biz.service.business;

import com.sinog.core.model.UserDTO;
import com.sinog.core.utilbean.Result;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @desc 安置帮教管理 - 帮教工作信息管理 - 帮教管理 - 社会组织
 * @author sunsf
 * @date 2020-02-07-16:40
 */
@RestController
public interface BjgzShehuijiuzhuInfoMainService {

    /**
     * 保存帮教 - 社会组织
     * @param dataStr dataStr
     * @param user user
     * @return Result
     */
    @RequestMapping("/azbj/azbjgl/bjgzgl/saveBjShzzInfo")
    Result saveBjShzzInfo(@RequestParam(value = "dataStr", required = false) String dataStr,@RequestBody UserDTO user);

    /**
     * 获取帮教--社会组织--信息
     * @param pp pp
     * @return Result
     */
    @RequestMapping("/azbj/azbjgl/bjgzgl/getBjShzzBaseInfo")
    Result getBjShzzBaseInfo(@RequestParam(value = "pp", required = false) String pp);
}